package com.hang.ixin.Enums;

import lombok.Getter;

@Getter
public enum ActionEnum {
    CONNECT(1,"初始化连接"),
    CHAT(2,"聊天"),
    SIGNED(3,"已读"),
    KEEP_ALIVE(4,"客户端保持心跳");
    private Integer code;
    private String type;

    ActionEnum(Integer code, String type) {
        this.type = type;
        this.code = code;
    }
}
